Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2481

Upgrade Aether version to resolve Aether bug BUG-451566

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.1.0
    • 2.0.0, 1.1.1, 1.2.0
    • storm-submit-tools
    • None

    Description

      I received a report that storm-submit-tools throws NPE.

       /usr/hdf/current/storm-client/bin/storm: line 2: /usr/hdf/3.0.0.0-179/etc/default/hadoop: No such file or directory
      Resolving dependencies on demand: artifacts (['org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12', 'org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12', 'org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12', 'org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12', 'org.apache.storm:storm-druid:1.0.2.3.0.0.0-179', 'org.scala-lang:scala-library:2.11.8']) with repositories (['hwx-public^http://repo.hortonworks.com/content/groups/public/', 'hwx-private^http://nexus-private.hortonworks.com/nexus/content/groups/public/'])
      DependencyResolver input - artifacts: org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12,org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12,org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12,org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12,org.apache.storm:storm-druid:1.0.2.3.0.0.0-179,org.scala-lang:scala-library:2.11.8
      DependencyResolver input - repositories: hwx-public^http://repo.hortonworks.com/content/groups/public/,hwx-private^http://nexus-private.hortonworks.com/...
      Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
              at org.apache.storm.submit.command.DependencyResolverMain.main(DependencyResolverMain.java:82)
      Caused by: java.lang.NullPointerException
              at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
              at org.apache.storm.submit.dependency.DependencyResolver.resolve(DependencyResolver.java:95)
              at org.apache.storm.submit.command.DependencyResolverMain.main(DependencyResolverMain.java:71)
      Traceback (most recent call last):
        File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 884, in <module>
          main()
        File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 881, in main
          (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
        File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 295, in jar
          artifact_to_file_jars = resolve_dependencies(DEP_ARTIFACTS_OPTS, DEP_ARTIFACTS_REPOSITORIES_OPTS)
        File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 182, in resolve_dependencies
          raise RuntimeError("dependency handler returns non-zero code: code<%s> syserr<%s>" % (p.returncode, errors))
      RuntimeError: dependency handler returns non-zero code: code<1> syserr<None>
      

      There was also an issue filed to Eclipse bug tracker.
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=451566

      The issue was fixed for newer version of Aether so we just need to upgrade Aether version to get over.

      Attachments

        Activity

          People

            kabhwan Jungtaek Lim
            kabhwan Jungtaek Lim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m